x = string.pack("i7", 1 << 54)
print(x)

-- integer overflow
x = string.pack("i7", 1 << 55)